import request from '@/utils/request'

// 查询压力情绪信息列表
export function listRing_emotional_info(query) {
  return request({
    url: '/ring/ring_emotional_info/list',
    method: 'get',
    params: query
  })
}

// 查询压力情绪信息详细
export function getRing_emotional_info(id) {
  return request({
    url: '/ring/ring_emotional_info/' + id,
    method: 'get'
  })
}

// 新增压力情绪信息
export function addRing_emotional_info(data) {
  return request({
    url: '/ring/ring_emotional_info',
    method: 'post',
    data: data
  })
}

// 修改压力情绪信息
export function updateRing_emotional_info(data) {
  return request({
    url: '/ring/ring_emotional_info',
    method: 'put',
    data: data
  })
}

// 删除压力情绪信息
export function delRing_emotional_info(id) {
  return request({
    url: '/ring/ring_emotional_info/' + id,
    method: 'delete'
  })
}
